<%-- 
    Document   : create
    Created on : Oct 4, 2012, 10:17:29 AM
    Author     : Daniel
--%>
<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
    <head>
		<style>
		.error {
		color: #ff0000;
		font-style: italic;
		}
	
/* 		.errorblock { */
/* 		color: #000; */
/* 		background-color: #ffEEEE; */
/* 		border: 3px solid #ff0000; */
/* 		padding: 8px; */
/* 		margin: 16px; */
/* 		} */
		</style>
    </head>
    <body>
        <form:form method="POST" commandName="employee">
<%--             <form:errors path="*" cssClass="errorblock" element="div" /> --%>
            <table border="1">
            <tbody>
<!--                	<tr>  -->
<!--                		<td>Employee ID :</td> -->
<%--                     <td><form:input path="idEmployee"/></td> --%>
<!--                	</tr> -->
        	   	<tr>
                	<td>First name :</td>
                    <td><form:input path="name" /></td>
                    <td><form:errors path="name" cssClass="error"/></td>
                </tr>
                <tr> 
                    <td>Surname :</td>
                    <td><form:input path="surname" /></td>
                    <td><form:errors path="surname" cssClass="error"/></td>
                </tr>
                <tr> 
                    <td>Email address :</td>
                    <td><form:input path="email" /></td>
                    <td><form:errors path="email" cssClass="error"/></td>
                </tr>
                <tr> 
                    <td>Work telephone :</td>
                    <td><form:input path="primarytelephone" /></td>
                    <td><form:errors path="primarytelephone" cssClass="error"/></td>
                </tr>
                <tr> 
                    <td>Personal telephone :</td>
                    <td><form:input path="secondarytelepohne" /></td>
                    <td><form:errors path="secondarytelepohne" cssClass="error"/></td>
                </tr>
                <tr> 
                    <td>Department :</td>
					<td>
						<form:select path="profile">
						<form:option value='S&O' label='Strategies & Operations' />
						<form:option value='TI' label='Technology Integration' />
						<form:option value='HC' label='Human Capital' />
						<form:option value='EA' label='Enterprise Applications' />
						<form:option value='S&O - FT' label='Financial Transformation' />
						</form:select>
					</td>
                </tr>
   				<tr>
					<td>Grade :</td>
					<td>
						<form:select path="roleproposed">
						<form:option value='Analyst 1' label='Analyst 1' />
						<form:option value='Analyst 2' label='Analyst 2' />
						<form:option value='Consultant' label='Consultant' />
						<form:option value='Senior Consultant' label='Senior Consultant' />
						<form:option value='Manager' label='Manager' />
						<form:option value='Senior Manager' label='Senior Manager' />
						<form:option value='Director' label='Director' />
						<form:option value='Partner' label='Partner' />
						</form:select>
					</td>
				</tr>
               	<tr>
                    <td>Photo :</td>
                    <td><input type="file" name="photo" value="" /></td>
                    <td></td>
               	</tr>                                        
            </tbody>
            </table>
            <input type="submit" value="Submit" />
        </form:form>
    </body>
</html>
